using System
;using System.Collections.Generic
;using System.ComponentMode
;using System.Data
;using System.Drawingusing System.Text
;using System.windows.Forms
namespace windowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
();InitializeComponent
}
( private void button1_Click( sender, EventArgs e
{
; System.windows.Forms.DialogResult s;
,s= MessageBox.Show("پیام کادر","عنوان کادر",
MessageBoxButtons.YesNoCancel,
MessageBoxIcon.Question,
; ( MessageBoxDefaultButton.Button3 )
( if (s == DialogResult.Yes {
; this.Text = "Yes"
;()Application.Exit
}
}
( private void Form1_Load( sender, EventArgs e {
;() timer1.Start
}
( private void timer1_Tick( sender, EventArgs e
{
;
() this.Text = DateTime.Now.ToString
; ( long a = Convert.ToInt64(textBox1.Text )
;++ a
textBox1.Text = a.